package com.wtwd.device.service;


import com.wtwd.device.model.entity.BloodOxygenRecord;
import com.wtwd.device.model.vo.RespEntity;

import java.util.List;

/**
 * @author mjy
 * @date 2021/09/06
 * @description
 */
public interface BloodOxygenRecordService {
    RespEntity<List<BloodOxygenRecord>> getDaysBloodOxygenRecordList(Long deviceId, String startTime, String endTime);

    RespEntity<List<BloodOxygenRecord>> getMonthBloodOxygenRecordList(Long deviceId, String month);

    RespEntity addBloodOxygenRecord(BloodOxygenRecord bloodOxygenRecord);

    Integer clearBloodOxygenRecordByDate(String date);

    BloodOxygenRecord getBloodOxygenRecordByDeviceIdAndTime(Long id, String time);

    Integer deleteBloodOxygenRecordByDeviceId(Long id);
}
